home *** CD-ROM | disk | FTP | other *** search
/ 1000 Apple LAN Literacy / 1000 Apple LAN Literacy.iso / Apple LAN Literacy / Literacy Segments Part 3 / Literacy Segments Part 3 / card_29150.txt < prev    next >
Text File  |  1989-08-22  |  3KB  |  113 lines

  1. -- card: 29150 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 28354
  5. -- name: Access Methods P/7
  6. ----- HyperTalk script -----
  7. on doMenu what
  8.   if what is "next" then exit doMenu
  9.   pass doMenu
  10. end doMenu
  11.  
  12. on arrowKey which
  13.   if the textArrows and the optionKey is not down then
  14.     pass arrowKey
  15.     exit to HyperCard
  16.   end if
  17.   if which is "right" then exit arrowKey
  18.   pass arrowKey
  19. end arrowKey
  20.  
  21. on openCard
  22.   beenHereFlag 2,3
  23.   -- first param is item #, second is line # (of global)
  24.   pass openCard
  25. end openCard
  26.  
  27.  
  28. -- part 1 (button)
  29. -- low flags: 00
  30. -- high flags: 0000
  31. -- rect: left=493 top=319 right=341 bottom=512
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 1400 / 1400
  34. -- text alignment: 1
  35. -- font id: 0
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: Next
  40. ----- HyperTalk script -----
  41. on mouseUp
  42.  
  43. end mouseUp
  44.  
  45.  
  46.  
  47. -- part contents for background part 5
  48. ----- text -----
  49. 29150
  50.  
  51. -- part contents for background part 20
  52. ----- text -----
  53. Practice 2:  Details  (3 of 3)
  54.  
  55. -- part contents for background part 21
  56. ----- text -----
  57. In a system using CSMA/CA, when a collision is detected the node does which of the following?
  58.  
  59. -- part contents for background part 23
  60. ----- text -----
  61. a.  Passes the token and must wait for the token to be passed
  62.      back before it can retransmit.
  63.  
  64. -- part contents for background part 24
  65. ----- text -----
  66. b.  Immediately retransmits the data.
  67.  
  68. -- part contents for background part 25
  69. ----- text -----
  70. c.  Waits a random amount of time before checking to see if the
  71.      carrier is free.
  72.  
  73. -- part contents for background part 26
  74. ----- text -----
  75. d.  Always repeats data packets so that collisions are not
  76.       important.
  77.  
  78. -- part contents for background part 34
  79. ----- text -----
  80. No.  CSMA/CA does not use tokens.
  81.  
  82. -- part contents for background part 42
  83. ----- text -----
  84. No.  The node should not retransmit without first checking to see if the carrier is free.
  85.  
  86. -- part contents for background part 36
  87. ----- text -----
  88. Very Good.
  89.  
  90. -- part contents for background part 37
  91. ----- text -----
  92. No.  CSMA/CA  uses a method that tries to avoid collisions.
  93.  
  94. -- part contents for background part 22
  95. ----- text -----
  96. Click your choice.
  97.  
  98. -- part contents for background part 39
  99. ----- text -----
  100. The correct answer is (c);  Waits a random amount of time before checking to see if the carrier is free.
  101.  
  102. -- part contents for background part 57
  103. ----- text -----
  104. 3
  105. 6
  106.  
  107. -- part contents for background part 40
  108. ----- text -----
  109. The correct answer is (c);  Waits a random amount of time before checking to see if the carrier is free.
  110.  
  111. -- part contents for background part 3
  112. ----- text -----
  113. Access Methods